
var ajaxCascader_page={};

ajaxCascader_page.action= {
    initBody: function () {
        ajaxCascader_page.interface.init();
        ajaxCascader_page.action.bindEvent();
    },
    bindEvent: function () {

    }
};

ajaxCascader_page.interface={
    init:function(){

        layui.config({
            base: '/static/comm/plugins/ajaxCascader/'
            ,version: '1.6'
        });
        layui.use(['jquery','ajaxCascader'],function(){
            var cascader = layui.ajaxCascader;
            cascader.load({
                elem:'#demo2'
                ,data:[
                    {value:123,label:456,children:[
                            {value:789,label:"子集"}
                        ]},
                    {value:240,label:"第一层"},
                    {value:250,label:"第一层"},
                    {value:260,label:"第一层"},
                    {value:280,label:"第一层"},
                ]
            });
        });
    }
};

ajaxCascader_page.data={

};

AppComm.initFrame(ajaxCascader_page);